﻿using System;

namespace SixthClassAssignment{
    public class School{
        private String no;
        private String name;
        private String location;

        public School(string no, string name, string location){
            this.no = no;
            this.name = name;
            this.location = location;
        }

        public string No{
            get => no;
            set => no = value;
        }

        public string Name{
            get => name;
            set => name = value;
        }

        public string Location{
            get => location;
            set => location = value;
        }
        
        public override string ToString(){
            return "{" + no + " " + name + " " + location + "}";
        }
    }
}